package com.smartrm.trade.domain.remote;

import java.util.List;

/*
 * @program: common-starters
 * @description: 调用设备上下文获取售卖机库存信息
 * @author: houhong
 * @create: 2023-01-10 15:41
 */
public interface TradeDeviceService {

    /*
     * 获取售卖机库存信息
     */
    List<InventoryInfo> getInventory(long machineId);

    /*
     * 货道售卖机弹出商品
     */
    void popCommodity(long machineId, String commodityId, long orderId) throws Exception;
}
